package cn.biao.epic.sys.modular.system.mapper;

import cn.biao.epic.sys.modular.system.entity.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther Uncle_Z
 * @date 2019/12/9 17:55
 * @Email:2545375@qq.com
 * @Descrition
 */
public interface DeptMapper extends BaseMapper<Dept> {


    /**
     * 获取所有部门列表
     */
    Page<Map<String, Object>> list(@Param("page") Page page, @Param("condition") String condition, @Param("deptId") Long deptId);


    /**
     * where pids like ''
     */
    List<Dept> likePids(@Param("deptId") Long deptId);
}
